/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: BuyPointResponse.java
 *   @Date: 18-11-30 下午3:26
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.point.bean;

import java.io.Serializable;
import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class BuyPointResponse extends BaseResponse {

    /**
     * success : true
     * failMsg :
     * pointQuantity : 10
     * bonusTokenList : [{"tokenId":"ETH","quantity":100}]
     */

    private boolean success;
    private String failMsg;
    private int pointQuantity;//购买点数
    private List<BonusTokenListBean> bonusTokenList;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getFailMsg() {
        return failMsg;
    }

    public void setFailMsg(String failMsg) {
        this.failMsg = failMsg;
    }

    public int getPointQuantity() {
        return pointQuantity;
    }

    public void setPointQuantity(int pointQuantity) {
        this.pointQuantity = pointQuantity;
    }

    public List<BonusTokenListBean> getBonusTokenList() {
        return bonusTokenList;
    }

    public void setBonusTokenList(List<BonusTokenListBean> bonusTokenList) {
        this.bonusTokenList = bonusTokenList;
    }

    public static class BonusTokenListBean implements Serializable {
        /**
         * tokenId : ETH
         * quantity : 100
         */

        private String tokenId;
        private int quantity;//数量

        public String getTokenId() {
            return tokenId;
        }

        public void setTokenId(String tokenId) {
            this.tokenId = tokenId;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }
    }
}
